package com.ce.pms.renovation.vo;

import java.util.Date;

/**
 *出入证办理列表显示VO
 * @author 黄彦军
 *
 */
public class LicenceListVO {
	/**
	 * 许可证Id
	 */
	private Long licenceId;

	/**
	 * 许可证号，默认为装修申请号
	 */
	private String licenceNumber;

	/**
	 * 房号
	 */
	private String houseNumber;

	/**
	 * 业主姓名，多业主用,分开
	 */
	private String clientNames;

	/**
	 * 许可证发放 状态
	 */
	private String renovateLicenceState;

	/**
	 * 许可证发放状态 显示值
	 */
	private String renovateLicenceStateView;

	/**
	 * 现场责任人
	 */
	private String burdenMan;

	/**
	 * 现场负责人电话
	 */
	private String burdenManPhone;

	/**
	 * 装修开工日期
	 */
	private Date beginDate;

	/**
	 * 装修结束日期
	 */
	private Date endDate;

	/**
	 * 发证数量
	 */
	private int issueCount;

	/**
	 * 收费状态 001-未收，002-免收，003-已收
	 */
	private String feeState;

	/**
	 * 收费状态显示值
	 */
	private String feeStateView;

	/**
	 * 退费状态
	 */
	private String returnFeeState;

	/**
	 * 退费状态显示值
	 */
	private String returnFeeStateView;

	/**
	 * 退证数量
	 */
	private int returnCount;

	/**
	 * 退证状态
	 */
	private String returnState;

	/**
	 * 退证状态 显示值
	 */
	private String returnStateView;

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public String getBurdenMan() {
		return burdenMan;
	}

	public void setBurdenMan(String burdenMan) {
		this.burdenMan = burdenMan;
	}

	public String getBurdenManPhone() {
		return burdenManPhone;
	}

	public void setBurdenManPhone(String burdenManPhone) {
		this.burdenManPhone = burdenManPhone;
	}

	public String getClientNames() {
		return clientNames;
	}

	public void setClientNames(String clientNames) {
		this.clientNames = clientNames;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getFeeState() {
		return feeState;
	}

	public void setFeeState(String feeState) {
		this.feeState = feeState;
	}

	public String getFeeStateView() {
		return feeStateView;
	}

	public void setFeeStateView(String feeStateView) {
		this.feeStateView = feeStateView;
	}

	public String getHouseNumber() {
		return houseNumber;
	}

	public void setHouseNumber(String houseNumber) {
		this.houseNumber = houseNumber;
	}

	public int getIssueCount() {
		return issueCount;
	}

	public void setIssueCount(int issueCount) {
		this.issueCount = issueCount;
	}

	public Long getLicenceId() {
		return licenceId;
	}

	public void setLicenceId(Long licenceId) {
		this.licenceId = licenceId;
	}

	public String getLicenceNumber() {
		return licenceNumber;
	}

	public void setLicenceNumber(String licenceNumber) {
		this.licenceNumber = licenceNumber;
	}

	public String getRenovateLicenceState() {
		return renovateLicenceState;
	}

	public void setRenovateLicenceState(String renovateLicenceState) {
		this.renovateLicenceState = renovateLicenceState;
	}

	public int getReturnCount() {
		return returnCount;
	}

	public void setReturnCount(int returnCount) {
		this.returnCount = returnCount;
	}

	public String getReturnState() {
		return returnState;
	}

	public void setReturnState(String returnState) {
		this.returnState = returnState;
	}

	public String getReturnFeeState() {
		return returnFeeState;
	}

	public void setReturnFeeState(String returnFeeState) {
		this.returnFeeState = returnFeeState;
	}

	public String getReturnFeeStateView() {
		return returnFeeStateView;
	}

	public void setReturnFeeStateView(String returnFeeStateView) {
		this.returnFeeStateView = returnFeeStateView;
	}

	/**
	 * 功能描述:依赖rturnCount、issueCount变量，自动修改状态显示值<br>
	 * @param chargeCount 已经收费的证件数量<br>
	 * Create author:罗军林<br>
	 * Create on:2009-1-6<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void setChargeCount(Long chargeCount){
		if(this.returnCount==this.issueCount && issueCount>0){
			this.returnFeeStateView="已退";
		}else if(this.returnCount<issueCount ){
			this.returnFeeStateView="未退";
		}else{
			this.returnFeeStateView="--";
		}

		if(this.issueCount==chargeCount && issueCount>0){
			this.feeStateView="已收";
		}else if(issueCount>0){
			this.feeStateView="未收";
		}else{
			this.feeStateView="--";
		}
	}

	public String getRenovateLicenceStateView() {
		return renovateLicenceStateView;
	}

	public void setRenovateLicenceStateView(String renovateLicenceStateView) {
		this.renovateLicenceStateView = renovateLicenceStateView;
	}

	public String getReturnStateView() {
		return returnStateView;
	}

	public void setReturnStateView(String returnStateView) {
		this.returnStateView = returnStateView;
	}


}
